package com.huixue.zdb.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 收货地址表
 * </p>
 *
 * @author ZhouHuRun
 * @since 2020-09-23
 */
public class ZdbAddress implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 昵称
     */
    private String nicname;

    /**
     * 手机号
     */
    private String niciphone;

    /**
     * 地区id
     */
    private Integer buildingid;

    /**
     * 详细地址
     */
    private String deaddress;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getNicname() {
        return nicname;
    }

    public void setNicname(String nicname) {
        this.nicname = nicname;
    }

    public String getNiciphone() {
        return niciphone;
    }

    public void setNiciphone(String niciphone) {
        this.niciphone = niciphone;
    }

    public Integer getBuildingid() {
        return buildingid;
    }

    public void setBuildingid(Integer buildingid) {
        this.buildingid = buildingid;
    }

    public String getDeaddress() {
        return deaddress;
    }

    public void setDeaddress(String deaddress) {
        this.deaddress = deaddress;
    }

    @Override
    public String toString() {
        return "ZdbAddress{" +
        "id=" + id +
        ", userId=" + userId +
        ", nicname=" + nicname +
        ", niciphone=" + niciphone +
        ", buildingid=" + buildingid +
        ", deaddress=" + deaddress +
        "}";
    }
}
